package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 app_task
 * 
 * @author CuiYingJie
 * @date 2020-12-02
 */
public class AppTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑id */
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务金额 */
    @Excel(name = "任务金额")
    private BigDecimal taskPrice;

    /** 任务数量 */
    @Excel(name = "任务数量")
    private Integer taskNum;

    /** 任务步骤 */
    @Excel(name = "任务步骤")
    private String taskStep;

    /** 已删除 */
    @Excel(name = "已删除")
    private Integer deleted;

    /** 排序权重 */
    @Excel(name = "排序权重")
    private Integer sort;

    /** 是否关闭 */
    @Excel(name = "是否关闭")
    private Integer closed;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskPrice(BigDecimal taskPrice) 
    {
        this.taskPrice = taskPrice;
    }

    public BigDecimal getTaskPrice() 
    {
        return taskPrice;
    }
    public void setTaskNum(Integer taskNum) 
    {
        this.taskNum = taskNum;
    }

    public Integer getTaskNum() 
    {
        return taskNum;
    }
    public void setTaskStep(String taskStep) 
    {
        this.taskStep = taskStep;
    }

    public String getTaskStep() 
    {
        return taskStep;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setClosed(Integer closed) 
    {
        this.closed = closed;
    }

    public Integer getClosed() 
    {
        return closed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("taskPrice", getTaskPrice())
            .append("taskNum", getTaskNum())
            .append("taskStep", getTaskStep())
            .append("deleted", getDeleted())
            .append("sort", getSort())
            .append("closed", getClosed())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
